﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class RegisterDAL
    {
        public static int AddLogin(Login l)
        {
            string sql = "insert into UserInfo values('" + l.UserName + "','" + l.Pwd + "',1,0,'默认头像.jpg','" + l.Email + "')";
            int num = Dbhelpr.AddData(sql);
            return num;
        }
    }
}
